package com.baor.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("equipment_abnormality")
public class Equipment_abnormality {
    @TableId(type = IdType.AUTO)
    private Integer id;                // 工单ID
    private String gdId;           // 工单号
    private Integer equipmentId;       // 设备ID
    private String abnormalType;    //异常类型
    @TableField("abnormal_description")
    private String abnormalDescription; // 异常描述
    @TableField("material")
    private String material;//物料
    @TableField("result")
    private String result;//结果

    private Integer reportUserId;  // 上报人Id
    private String reportTime;   // 上报时间
    private Integer reviewerUserId;     // 审核人id
    private String reviewerTime; // 审核时间
    private Integer reviewerStatus;     // 审核状态
    private Integer reportStatus;   //  上报状态
    private Integer handleStatus;   // 工单状态
    private Long handlerId;     // 维修人
    private String handleTime;   // 维修时间
    private String remarks; //备注
    private Integer isDeleted = 0 ;     //默认未删除
    private String createdAt;
    @TableField("updated_at")
    private String updatedAt;

}
